package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 合作商户信息表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_merchants")
@ApiModel(value = "XhMerchants对象", description = "合作商户信息表")
public class XhMerchants implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("类型：1.代理商2.经销商3.加盟商")
    private Integer merchantsType;

    @ApiModelProperty("商家编号，自动生成")
    private String merchantsNo;

    @ApiModelProperty("商家名称")
    private String merchantsName;

    @ApiModelProperty("联系人")
    private String contact;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("用户协议内容")
    private String agreement;

    @ApiModelProperty("资产所有者：1.代理商 2.城满电")
    private Integer assetOwner;

    @ApiModelProperty("小程序appid")
    private String wxMiniAppid;

    @ApiModelProperty("小程序密钥")
    private String wxMiniSecret;

    @ApiModelProperty("小程序消息token")
    private String wxMiniToken;

    @ApiModelProperty("小程序链接二维码前缀")
    private String wxMiniQrcodePre;

    @ApiModelProperty("微信支付商户ID")
    private String wxMchId;

    @ApiModelProperty("微信支付密钥路径")
    private String wxKeyPath;

    @ApiModelProperty("微信支付证书路径")
    private String wxCertPath;

    @ApiModelProperty("微信支付apiv3密钥")
    private String wxApiKey3;

    @ApiModelProperty("微信支付平台证书路径")
    private String wxPlatformCertPath;

    @ApiModelProperty("支付宝小程序appid")
    private String aliMiniAppid;

    @ApiModelProperty("支付宝小程序解密key")
    private String aliMiniDecryptKey;

    @ApiModelProperty("支付宝支付私钥")
    private String aliPayPrivateKey;

    @ApiModelProperty("支付宝支付证书路径")
    private String aliPayCertPath;

    @ApiModelProperty("支付宝支付公共证书路径")
    private String aliPayPublicCertPath;

    @ApiModelProperty("支付宝支付根证书路径")
    private String aliPayRootCertPath;

    @ApiModelProperty("短信签名")
    private String smsSign;

    @ApiModelProperty("押金金额")
    private BigDecimal depositMoney;

    @ApiModelProperty("退货联系人")
    private String returnPerson;

    @ApiModelProperty("退货联系电话")
    private String returnPhone;

    @ApiModelProperty("退货地址")
    private String returnAddress;

    @ApiModelProperty("创建人ID")
    private Integer creatorId;

    @ApiModelProperty("创建人")
    private String creator;

    @ApiModelProperty("是否启用：0.否1.是(默认)")
    private Integer isEnabled;

    @ApiModelProperty("是否删除：0.否(默认)1.是")
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDeleted;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

}
